]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Don't abuse StButton
authorZander Brown <zbrown@gnome.org>
Wed, 8 Nov 2023 10:50:02 +0000 (10:50 +0000)
committerMarge Bot <marge-bot@gnome.org>
Fri, 10 Nov 2023 20:19:13 +0000 (20:19 +0000)
commit35cb2b5385e1abae7c76d3de3041b641f6ce2afe
treef1700b8021ca61727ac645bb72073933b512a284
parent42fc986e91b6f65e2205d202c3c42aaf79166b26
screenshot: Don't abuse StButton

It's an StBin, so can only have one child, yet we are adding multiple —
something we get away with by overriding allocate

Instead of doing that, move the content to it's own actor

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3010>
js/ui/screenshot.js